package com.dayu.tcp.protocol;

import lombok.Getter;

import java.io.Serializable;

/**
 * @author yehangtech
 * @date 2025/4/6 14:10
 * @description K1协议心跳包
 */
public class K1HeartbeatMsg extends K1BaseMessage implements Serializable {

    private K1HeartbeatMsg() {
        super(K1Protocol.MAGIC, K1Protocol.VERSION, K1Protocol.MESSAGE_TYPE_HEARTBEAT, K1Protocol.SEQUENCE_ID_HEARTBEAT, K1Protocol.SERIALIZER_JSON,
                K1Protocol.COMPRESS_NONE, K1Protocol.ENCRYPT_NONE, K1Protocol.EMPTY, 0, new byte[0]);
    }

    @Getter
    private static final K1HeartbeatMsg instance = new K1HeartbeatMsg();
}
